<template>
  <div class="box">
    <div class="cjimg">
      <img src="../../../assets/img/wxq-img/choujiang/cj1.jpg" />
    </div>
    <div class="content">
      <van-tabs @click="onClick">
        <van-tab title="加圈获抽奖机会">
          <div class="text">
            <h1>每加入一个圈子获一个抽奖机会</h1>
          </div>
          <ul>
            <li>
              <img src="../../../assets/img/wxq-img/choujiang/cj2.jpg" />
              <div class="textcenter">
                <h4>心动恋爱研究所</h4>
                <p>吃别人的瓜，教会自己恋爱</p>
              </div>
              <div class="textright">
                <input type="button" value="+加入" />
              </div>
            </li>
            <li>
              <img src="../../../assets/img/wxq-img/choujiang/cj3.jpg" />
              <div class="textcenter">
                <h4>这！就是街舞</h4>
                <p>速来围观！中文歌融合站热血打响</p>
              </div>
              <div class="textright">
                <input type="button" value="+加入" />
              </div>
            </li>
            <li>
              <img src="../../../assets/img/wxq-img/choujiang/cj4.jpg" />
              <div class="textcenter">
                <h4>大湾区吹水圈</h4>
                <p>港剧迷都在这里！整整齐齐看港剧</p>
              </div>
              <div class="textright">
                <input type="button" value="+加入" />
              </div>
            </li>
          </ul>
          <div class="text">
            <h1>欢迎您来到优酷社区</h1>
          </div>
        </van-tab>
        <van-tab title="点击抽奖iPad">
          <div class="img1">
            <img src="../../../assets/img/wxq-img/choujiang/cj5.jpg" />
          </div>
        </van-tab>
      </van-tabs>
    </div>
  </div>
</template>

<script>
import { Toast } from "vant";

export default {
  name: "Chouj",
  methods: {
    onClick(name, title) {
      Toast(title);
    },
  },
};
</script>

<style scoped>
.box {
  width: 100%;
}

.box .cjimg img {
  width: 100%;
  height: 3.5rem;
  overflow: hidden;
}
.box .cjimg img {
  width: 100%;
  height: 3.5rem;
  overflow: hidden;
}
.content {
  width: 100%;
  height: 4.8rem;
  padding: 0 0.12rem;
  box-sizing: border-box;
  background-color: #102986;
}
.text {
  width: 100%;
  height: 0.64rem;
  text-align: center;
  line-height: 0.64rem;
  background-color: #d1ffff;
  border-bottom: 0.01rem solid #bee0e0;
}
.text h1 {
  font-size: 0.16rem;
}
.content ul {
  width: 100%;
  height: 2.54rem;
  padding: 0 0.12rem;
  box-sizing: border-box;
  background-color: #d1ffff;
}
.content ul li {
  width: 100%;
  height: 0.6rem;

  border-bottom: 0.01rem solid #bee0e0;
  padding: 0.14rem 0;
}
.content ul li img {
  float: left;
}
.textcenter {
  float: left;
  width: 2rem;
  height: 0.6rem;
  margin-left: 0.12rem;
}
.textcenter h2 {
  font-size: 0.15rem;
}
.textcenter p {
  font-size: 0.09rem;
  margin-top: 0.08rem;
}
.textright {
  float: right;
  width: 0.7rem;
  height: 0.6rem;
  line-height: 0.6rem;
}
.textright input {
  width: 0.68rem;
  height: 0.32rem;
  background-color: #37ffc0;
  font-size: 0.16rem;
  text-align: center;
  line-height: 0.32rem;
}
.img1 {
  width: 100%;
  height: 4.8rem;
  overflow: hidden;
}
.img1 img{
  width: 100%;
  height: 4.8rem;
}
</style>
